#循环语句
'''
x = 0
while x < 10:
    print('hello')
    x += 14
'''
   
"""
x = 0
i = 0
while i <= 100:
    x += i
    i += 1
print(x)
"""
'''
#for in 循环
for x in range(1,11):
    print(x)
 '''   
    
#用for……in循环打印1到100的和：
z = 0
for x in range(1,101):
    z += x
print(z)    